<?php
declare (strict_types = 1);

namespace app\controller;

class Error
{
    public function __call($method, $args)
    {
        $css = "
            <style>
                a:hover {
                    text-decoration: underline !important;
                    color: cyan !important;
                }
            </style>
        ";
        $str = "非法访问,<a class='text-decoration-none text-success' href='/'>返回首页</a>";
       return $css.$str;
    }

}
//空控制器的知识 ，路由输入非法时报错